<template>
  <div id="app">
    <!-- <router-view /> -->
    <div id="luckysheet" style="margin:0px;padding:0px;position:absolute;width:100%;height:100%;left: 0px;top: 0px;"></div>
  </div>
</template>

<script>
// import { resetRouter } from '@/router'

export default {
  name: 'App',
  // async created() {
  //   const isAdmin = await this.$store.dispatch('user/updatePermission')
  //   resetRouter(isAdmin)
  //   this.$router.push(this.$route.path);
  // }
  mounted () {
    $(function () {
        //配置项
        const options = {
            container: 'luckysheet', //luckysheet为容器id
        };
        luckysheet.create(options);
    })
  },
}
</script>
